import os

REDIS_CONFIG = {
    "host": os.getenv("REDIS_HOST", "172.16.31.1"),
    "port": int(os.getenv("REDIS_PORT", 4091)),
    "db": int(os.getenv("REDIS_DB", 2)),
    "password": os.getenv("REDIS_PASSWORD", "P6Hh7mFH7")

}

BINANCE_CONFIG = {
    "api_key": os.getenv("BINANCE_API_KEY", "NG4xzzpnDl0hQj07LYbFIBu5E5sQ4kiNnYZeWvNxU0hgqvJMYuLqRA7QtGy7gAWW"),
    "api_secret": os.getenv("BINANCE_API_SECRET", "AssKm3TagYdMh0DbwFBpwYrT6fQd8wmHiJQMULZdNfiZ9ec7V4fYrxoJxZidfZ7Z"),
    "https_proxy": 'http://127.0.0.1:7890'
}

proxies = {
    'http': 'http://127.0.0.1:7890',
    'https': 'http://127.0.0.1:7890'
}

REDIS_KEY_NAMES = {
    'all_price_stream': 'crypto_market_stream',
    'all_price_every_time': 'all_price_every_time',
    'watch_list': 'watch_list'
}
GOTIFY_URL = 'http://127.0.0.1:4090'
# GOTIFY_URL = 'http://39.100.160.246:4090'

GOTIFY_TOKENS = {
    'price_watcher': 'AcO9T9PiC7I5Foi'
}
